package com.weilan.ark3.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@TableName(value = "tb_modbus_conf")
public class ModbusConf {
    /**
     * 模块名称
     */
    @ApiModelProperty(value = "模块名称")
    private String moduleName;

    /**
     * 地址
     */
    @ApiModelProperty(value = "地址")
    @ExcelProperty(index = 0)
    private String addr;

    /**
     * 读写属性
     */
    @ApiModelProperty(value = "读写属性")
    @ExcelProperty(index = 1)
    private String rwProperties;

    /**
     * 指令名称
     */
    @ApiModelProperty(value = "指令名称")
    @ExcelProperty(index = 2)
    private String name;

    /**
     * 数据属性
     */
    @ApiModelProperty(value = "数据属性")
    @ExcelProperty(index = 3)
    private String dataProperties;

    /**
     * 系数
     */
    @ApiModelProperty(value = "系数")
    @ExcelProperty(index = 4)
    private String coeff;

    /**
     * 单位
     */
    @ApiModelProperty(value = "单位")
    @ExcelProperty(index = 5)
    private String unit;

    /**
     * 含义
     */
    @ApiModelProperty(value = "含义")
    @ExcelProperty(index = 6)
    private String description;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @ExcelProperty(index = 7)
    private String remark;
}
